<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>矩形树图</title>
                <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/themes/shine.js"></script>

</head>
<body >
    <div id="fe625f7d8bdf4667a81642decad84596" class="chart-container" style="width:1000px; height:600px; "></div>
    <script>
        var chart_fe625f7d8bdf4667a81642decad84596 = echarts.init(
            document.getElementById('fe625f7d8bdf4667a81642decad84596'), 'shine', {renderer: 'canvas'});
        var option_fe625f7d8bdf4667a81642decad84596 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "aria": {
        "enabled": false
    },
    "series": [
        {
            "type": "treemap",
            "data": [
                {
                    "name": "\u4f1a\u5458\u6253\u6298\u5361",
                    "value": 7.84,
                    "children": [
                        {
                            "name": "\u4f1a\u5458\u6253\u6298\u5361-\u7537",
                            "value": 4.31
                        },
                        {
                            "name": "\u4f1a\u5458\u6253\u6298\u5361-\u5973",
                            "value": 3.53
                        }
                    ]
                },
                {
                    "name": "\u4e70\u4e00\u8d60\u4e00",
                    "value": 23.53,
                    "children": [
                        {
                            "name": "\u4e70\u4e00\u8d60\u4e00-\u7537",
                            "value": 8.2
                        },
                        {
                            "name": "\u4e70\u4e00\u8d60\u4e00-\u5973",
                            "value": 15.33
                        }
                    ]
                },
                {
                    "name": "\u6ee1\u51cf\u4f18\u60e0",
                    "value": 19.61,
                    "children": [
                        {
                            "name": "\u6ee1\u51cf\u4f18\u60e0-\u7537",
                            "value": 7.1
                        },
                        {
                            "name": "\u6ee1\u51cf\u4f18\u60e0-\u5973",
                            "value": 12.51
                        }
                    ]
                },
                {
                    "name": "\u8d60\u54c1",
                    "value": 7.06,
                    "children": [
                        {
                            "name": "\u8d60\u54c1-\u7537",
                            "value": 2.35
                        },
                        {
                            "name": "\u8d60\u54c1-\u5973",
                            "value": 4.71
                        }
                    ]
                },
                {
                    "name": "\u7b2c\u4e8c\u4ef6\u534a\u4ef7",
                    "value": 12.55,
                    "children": [
                        {
                            "name": "\u7b2c\u4e8c\u4ef6\u534a\u4ef7-\u7537",
                            "value": 5.88
                        },
                        {
                            "name": "\u7b2c\u4e8c\u4ef6\u534a\u4ef7-\u5973",
                            "value": 6.67
                        }
                    ]
                },
                {
                    "name": "\u6362\u5b63\u6253\u6298",
                    "value": 29.41,
                    "children": [
                        {
                            "name": "\u6362\u5b63\u6253\u6298-\u7537",
                            "value": 13.73
                        },
                        {
                            "name": "\u6362\u5b63\u6253\u6298-\u5973",
                            "value": 15.69
                        }
                    ]
                }
            ],
            "width": "80%",
            "height": "80%",
            "label": {
                "show": true,
                "margin": 8,
                "formatter": "{b}\n\n{c}"
            },
            "upperLabel": {
                "show": false,
                "margin": 8
            },
            "drillDownIcon": "\u25b6",
            "roam": true,
            "nodeClick": "zoomToNode",
            "zoomToNodeRatio": 0.1024,
            "levels": [
                {
                    "colorMappingBy": "index",
                    "itemStyle": {
                        "gapWidth": 2,
                        "borderWidth": 0
                    }
                },
                {
                    "colorMappingBy": "index",
                    "itemStyle": {
                        "gapWidth": 1,
                        "borderWidth": 0
                    }
                }
            ],
            "colorMappingBy": "index",
            "visibleMin": 10
        }
    ],
    "legend": [
        {
            "data": [
                ""
            ],
            "selected": {},
            "show": false,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14,
            "backgroundColor": "transparent",
            "borderColor": "#ccc",
            "borderRadius": 0,
            "pageButtonItemGap": 5,
            "pageButtonPosition": "end",
            "pageFormatter": "{current}/{total}",
            "pageIconColor": "#2f4554",
            "pageIconInactiveColor": "#aaa",
            "pageIconSize": 15,
            "animationDurationUpdate": 800,
            "selector": false,
            "selectorPosition": "auto",
            "selectorItemGap": 7,
            "selectorButtonGap": 10
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "enterable": false,
        "confine": false,
        "appendToBody": false,
        "transitionDuration": 0.4,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5,
        "order": "seriesAsc"
    },
    "title": [
        {
            "show": true,
            "text": "\u67d0\u5e97\u94fa\u4e0d\u540c\u4fc3\u9500\u65b9\u5f0f\u4e0b\u7537\u6027\u548c\u5973\u6027\u8d2d\u4e70\u4eba\u6570\u5360\u6bd4\u77e9\u5f62\u6811\u56fe",
            "target": "blank",
            "subtarget": "blank",
            "left": "center",
            "padding": 5,
            "itemGap": 10,
            "textAlign": "auto",
            "textVerticalAlign": "auto",
            "triggerEvent": false
        }
    ]
};
        chart_fe625f7d8bdf4667a81642decad84596.setOption(option_fe625f7d8bdf4667a81642decad84596);
    </script>
</body>
</html>
